package com.yanqu.road.entity.activity.dunhuangshiku;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description 敦煌事件配置
 * @Author cwq
 * @Data 2021/4/21 12:27
 */
@FieldTypeAnnotation(tableName = "t_s_activity_dunhuang_event")
public class DunHuangShiKuEventConfig {
    @FieldTypeAnnotation(desc = "活动ID", update = true, select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "id", update = true)
    private int id;
    @FieldTypeAnnotation(desc = "事件类型(1npc事件、2玩家战斗、3福利事件、4宝箱事件、5藏经洞事件)")
    private int eventType;
    @FieldTypeAnnotation(desc = "npcId/宝箱id")
    private int targetId;
    @FieldTypeAnnotation(desc = "积分奖励")
    private int score;
    @FieldTypeAnnotation(desc = "珍贵文书奖励")
    private String bookNum;
    @FieldTypeAnnotation(desc = "事件奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "重置保底数")
    private int securityTimes;
    @FieldTypeAnnotation(desc = "事件参数(type=1 npc赚钱 type=2 需要消耗的道具)")
    private String param;
    @FieldTypeAnnotation(desc = "是否显示日志(0不显示 1显示，只对事件类型1有效)")
    private int isShowLog;
    // 概率
    public int probability;
    // 获得珍贵文书的数量
    public int num;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getEventType() {
        return eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    public int getTargetId() {
        return targetId;
    }

    public void setTargetId(int targetId) {
        this.targetId = targetId;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getSecurityTimes() {
        return securityTimes;
    }

    public void setSecurityTimes(int securityTimes) {
        this.securityTimes = securityTimes;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getBookNum() {
        return bookNum;
    }

    public void setBookNum(String bookNum) {
        this.bookNum = bookNum;
    }

    public int getIsShowLog() {
        return isShowLog;
    }

    public void setIsShowLog(int isShowLog) {
        this.isShowLog = isShowLog;
    }
}
